import React from 'react'

export default function IconButton({children, onClick, className, disabled=false}) {
  return <button disabled={disabled} className={`btn cursor-pointer border-none leading-tight w-9 p-0 h-9 grid place-content-center bg-[var(--theme-color)] rounded-xs ${className}`} onClick={(e) => onClick && onClick(e)} >{children}</button>
}
